package org.grow.wind.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Data;
import org.grow.wind.common.LoanState;

/**
 * 
 * @TableName LoanApply
 */
@TableName(value ="LoanApply")
@Data
public class LoanApply implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private LoanState loadState = LoanState.toSubmit;

    /**
     * 
     */
    private String applier;

    /**
     * 审批人
     */
    private String auditor;

    /**
     * 
     */
    private BigDecimal loanAmount;

    /**
     * 
     */
    private BigDecimal rate;

    /**
     * 
     */
    private BigDecimal interest;

    /**
     * 
     */
    private LocalDateTime updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}